class Comment < ActiveRecord::Base
  belongs_to :post
  attr_accessible :name, :body
  
  validates_presence_of :name, :body
  
  named_scope :end, :limit => 1, :order => "created_at desc"
end
